
/*
 *获取客户渠道编码
 */
export function _getChannelCode(aid,sid,ouid){
    return (aid || "")+"!!"+(sid || "")+"!!"+(ouid || "");
}

export function parseParameter(){
    let s = location.search;
    s = s.replace(/^\?/,'');
    let params = s.split('&'),arr,obj;
    for(let i=0;i<params.length;i++){
        arr = params[i].split('=')
        obj[arr[0]] = arr[1]?arr[1]:''
    }
    return obj;
}
